/*
 * Copyright © 2022-now 尛飛俠（Denvie） All rights reserved.
 */

package cn.denvie.springcloud.order.rpc.feign;

import com.alibaba.cloud.dubbo.annotation.DubboTransported;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * UserFeignDubboService。
 *
 * @author Denvie
 * @date 2022/3/30
 * @since 1.0.0
 */
@FeignClient(value = "user-center", path = "/user")
@DubboTransported(protocol = "dubbo")
public interface UserFeignDubboService {
    /**
     * Say hello to somebody。
     *
     * @param name 名称
     * @return String
     */
    @RequestMapping("/hello")
    String hello(@RequestParam("name") String name);
}
